/* 
 * File:   writeVar.cpp
 * Author: Henrique
 * 
 * Created on 28 de Março de 2010, 17:30
 */

#include "writeVar.h"

writeVar::writeVar() {
}
writeVar::writeVar(char str){
    var = str;
 

}


writeVar::writeVar(const writeVar& orig) {
}

writeVar::~writeVar() {
}

void writeVar::execute(double *mem)
{
    std::cout <<  mem[(int)var-(int)'a'];
}

